//
//  DFProductFactory.swift
//  DailyFresh
//
//  Created by Arthur on 2017/9/26.
//  Copyright © 2017年 DailyFresh. All rights reserved.
//

import UIKit
//enum DFProductCellType {
//    case group = "group"
//}

//class DFProductCell: <#super class#> {
//    <#code#>
//}

class DFProductCellFactory: NSObject {
   static func create(product: DFProductModel) -> UICollectionViewCell {
//        if product.type == "group" {
//            return DFProductGroupCell()
//        }
//        
//        if product.type == "product" {
//            return DFProductCell()
//        }
//        
        return UICollectionViewCell()
    }
}

//class DFProductGroupFactory: DFProductCellFactory {
//    override func create(type: String) -> UICollectionViewCell? {
//        return DFProductCell()
//    }
//}

